package com.crazy.web.config.mongodb;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author zhaochaofeng
 * @version 1.0
 * @date 2021/1/18 16:58
 */
@Data
@Document(collection = "demo")
public class DemoEntity {
    @Id
    private Long id;

    private String title;

    private String description;

    private String by;

    private String url;
}
